package registnet.base;

/**
 * An implementation of a student's priority.
 */
public class Priority {

	/**
	 * The string description of the priority.
	 */
	private int description;
	
	/**
	 * The priority level in which a student may be classified.
	 */
	public static final Priority PRIORITY_LEVEL_1 = new Priority(1);
	public static final Priority PRIORITY_LEVEL_2 = new Priority(2);
	public static final Priority PRIORITY_LEVEL_3 = new Priority(3);
	public static final Priority PRIORITY_LEVEL_4 = new Priority(4);
	
	/**
	 * Creates a priority with the given description.
	 * @param description
	 */
	public Priority(int description){
		this.description = description;
	}

	/**
	 * Returns the description of the priority.
	 * @return the description of the priority
	 */
	public int getDescription() {
		return description;
	}

	/**
	 * Sets the description of the priority.
	 * @param description
	 */
	public void setDescription(int description) {
		this.description = description;
		
	}

}
